﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataVisit.DAL.ReportData;
using DataVisit.DAL.ReportData.SecurityMarket;
namespace DataVisit.Factory
{
    public class DaoFactory
    {
        /// <summary>
        /// 租赁实例
        /// </summary>
        public static DSettlementAnalysis SettlementDao
        {
            get {
                return ApplicationFactory.GetTypedObject<DSettlementAnalysis>("dSettlementAnalysis");
            }
        }
        /// <summary>
        /// 回收实例
        /// </summary>
        public static DRecycling RecyclingDao
        {
            get
            {
                return ApplicationFactory.GetTypedObject<DRecycling>("dRecycling");
            }
        }
        /// <summary>
        /// 工作面分析实例
        /// </summary>
        public static DRental_child Rental_childDao
        {
            get
            {
                return ApplicationFactory.GetTypedObject<DRental_child>("dRental_child");
            }
        }

        /// <summary>
        /// 获取安全市场 日常隐患报表数据访问层
        /// </summary>
        public static SecurityMarketDal SecurityMarketDao
        {
            get
            {
                return ApplicationFactory.GetTypedObject<SecurityMarketDal>("dSecurityMarket");
            }
        }

        /// <summary>
        /// 获取生产报表数据访问层
        /// </summary>
        public static DProductReport ProductReportDao
        {
            get
            {
                return ApplicationFactory.GetTypedObject<DProductReport>("dProductReport");
            }
        }
    }
}